﻿<div class="blade-static __bottom">
    <button class="btn" ng-click="restarted=true; restart();" ng-disabled="!blade.currentEntity.finished || restarted">
        <span>Restart</span>
    </button>
</div>
<div class="blade-content">
    <div class="blade-inner">
        <div class="inner-block">
            <div class="sub-t">{{blade.currentEntity.title}}</div>
            <div class="block">
                <p ng-if="blade.currentEntity.created" class="text no-data">Start — <i class="fa fa-clock-o"></i> <span am-time-ago="blade.currentEntity.created"></span></p>
                <p ng-if="!blade.currentEntity.finished" class="dropdown-content"><span class="list-bar progress-bar" data-role="progress-bar" data-value="30" style="margin-left: 0"></span></p>
                <p ng-if="blade.currentEntity.finished" class="text no-data">End — <i class="fa fa-clock-o"></i> <span am-time-ago="blade.currentEntity.finished"></span></p>
            </div>
            <div class="sub-t">Progress messages</div>
            <div class="log">
                <p ng-repeat="x in blade.currentEntity.progressLog" ng-class="{'__info' : x.level==='Info', '__warning': x.level==='Warning', '__debug': x.level==='Debug', '__error': x.level==='Error'}">{{x.message}}</p>
            </div>
            <p class="note" ng-if="blade.currentEntity.finished">Module installation process completed. <br />Restart the application now or later.</p>
        </div>
    </div>
</div>